* {margin: 0; padding: 0}
a img {
border: none;
}

#wrapper {
width: 800px;
margin: 20px auto;
}

ul.photos {
list-style:none;
}

ul.photos li {
    float: left;
    margin: 10px; padding: 0px;
    text-align: center;
    border: 1px solid #a4a4a4;
    display: inline;
}

ul.photos li a.image {
width: 300px;
height: 225px;
cursor: pointer;
}

ul.photos li span {
width: 300px; height: 225px;
overflow: hidden;
display: block;
}

ul.photos li h2 {
font-size: 16px;
margin: 0; padding: 10px;
background: #ececec;
}

ul.photos li a {
text-decoration: none;
color: #3a3a3a;
display: block;
}